package entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_rush")
@ApiModel(value = "Rush对象", description = "抢购管理页面的抢购详情对象")
public class Rush implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("tr_id")
    private Integer trId;

    @ApiModelProperty("所需里程")
    @TableField("tr_mileage")
    private Integer trMileage;

    @ApiModelProperty("所需的运动的类型")
    @TableField("tr_type")
    private Integer trType;

    @ApiModelProperty("商品货号")
    @TableField("tr_goods")
    private Integer trGoods;

    @ApiModelProperty("上架时间")
    @TableField("tr_start")
    private LocalDateTime trStart;

    @ApiModelProperty("下架时间")
    @TableField("tr_end")
    private LocalDateTime trEnd;

    @ApiModelProperty("预上架时间")
    @TableField("tr_advance")
    private LocalDateTime trAdvance;

    @ApiModelProperty("1：已删除")
    @TableField("deleted")
    private Integer deleted;


}
